package com.softlab.retailwholesalesystem.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "t_role")
@AllArgsConstructor
@NoArgsConstructor
public class RoleEntity implements Serializable {

    @TableId(type= IdType.AUTO)
    private Integer roleId;
    private String roleName;
    private String description;
    @TableField(fill= FieldFill.INSERT)
    private Date createTime;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Date modifiedTime;
    private Integer isDelete;

}
